/**
 * Created by c.k
 * 全局$tool插件
 */
import validator from "./validator";
import fToast from "./fToast";

export default {
  install(Vue) {
    let tool = {
      ...fToast,
      ...validator
    };
    Vue.prototype.$tool = tool;
    Vue.$tool = tool;
  }
};
